// Decompiled by DJ v3.7.7.81 Copyright 2004 Atanas Neshkov  Date: 2007-9-15 18:54:28

// Decompiler options: packimports(3) fieldsfirst ansi 
// Source File Name:   tj.java

package com.zelix;

import java.util.Hashtable;
import java.util.Vector;

// Referenced classes of package com.zelix:
//            ui, bi, cm, kl, 
//            nh, vh, si, uh

public abstract class tj extends ui
{

    protected Hashtable j;
    protected Vector k;
    private static String z[];

    public tj(int i)
    {
        super(i);
        j = new Hashtable();
        k = new Vector();
    }

    public final void a(uh uh, nh nh1)
    {
        int i;
        int l;
        int i1;
        int j1;
        int k1;
        k1 = si.g;
        i = g();
        l = nh1.x();
        i1 = nh1.h();
        j1 = 0;
        if(k1 == 0) goto _L2; else goto _L1
_L1:
        uh uh1 = a(j1);
        if(uh1 instanceof cm)
        {
            cm cm1 = (cm)uh1;
            String s = cm1.d();
            if(k.contains(s))
            {
                nh1.e("\"" + s + z[6] + a() + z[4] + d() + z[3]);
                if(k1 == 0)
                    continue;
            }
            k.addElement(s);
            if(k1 == 0)
                continue;
        }
        if(uh1 instanceof bi)
        {
            bi bi1 = (bi)uh1;
            bi1.a(this, nh1);
            Object obj = j.put(bi1.a(), bi1.a(0));
            if(obj == null)
                continue;
            nh1.e("\"" + bi1.a() + z[6] + a() + z[4] + d() + z[1]);
            j.put(bi1.a(), obj);
            if(k1 == 0)
                continue;
        }
        nh1.a(getClass().getName() + z[0] + uh1.getClass().getName() + z[2] + j1 + z[5] + d() + ".");
        j1++;
_L2:
        if(j1 >= i)
        {
            b(nh1, l, i1);
            a(nh1, l, i1);
            return;
        }
        if(true) goto _L1; else goto _L3
_L3:
    }

    private static String z(char[] chs) {
        for (int i = 0; i < chs.length; i++) {
            byte key = 0;
            switch (i % 5) {
                case 0:
                    key = 0x46;
                    break;
                case 1:
                    key = 65;
                    break;
                case 2:
                    key =90;
                    break;
                case 3:
                    key =18;
                    break;
                default:
                    key =50;
                    break;
            }
            chs[i] ^= key;
        }
        return new String(chs).intern();
    }

    static
    {
        String as[];
        as = new String[7];
        as[0] = z("f);v\022".toCharArray());
        as[1] = z("hazT[42.2]%\"/`@#/9w\0221(6~\022$$zgA#%t".toCharArray());
        as[2] = z("f )2Q.(6v\022".toCharArray());
        as[3] = z("ha\034{@55z}Q%4(`W(\"?2E/-62P#a/aW\"o".toCharArray());
        as[4] = z("da)fS2$7w\\2a;f\022*(4w\022".toCharArray());
        as[5] = z("f .2^//?2".toCharArray());
        as[6] = z("da;bB# (a\022+.(w\0222);|\022)/9w\022//z0".toCharArray());
        z = as;
    }
}